package com.speily.study.provider.service;

import com.baomidou.mybatisplus.service.IService;
import com.speily.study.provider.entity.AccountA;
import org.apache.rocketmq.client.exception.MQClientException;

import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;

/**
 * @Auther: SPL
 * @Date: 2019-07-09 18:17
 * @Description: 账户
 */
public interface AccountAService extends IService<AccountA>{
    /**
     * 消费
     * @param m
     */
    void consume(BigDecimal m,Long accountId) throws MQClientException, UnsupportedEncodingException;
}
